package com.example.springsecurity.domain;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import lombok.Data;
import org.apache.ibatis.type.Alias;

import java.util.List;

/**
 * @ClassName Major
 * @Description TODO  专业实体
 * @Author lvyongwei
 * @Date 2020-09-24 10:22
 **/
@Data
@Alias("major")
@JsonSerialize(include=JsonSerialize.Inclusion.NON_NULL)
public class Major {

    /**
     * 专业id
     */
    private Integer majorId;

    /**
     * 专业名称
     */
    private String majorName;

    /**
     * 对应的学院id
     */
    private Integer collegeId;


    /**
     * 班级集合
     */
    private List<TbClass> tbClassList;
}
